package ch03.Shili.service.impl;

import ch03.Shili.dao.NewsDao;
import ch03.Shili.entity.News;
import ch03.Shili.service.NewsService;

public class NewsServiceImpl implements NewsService {

    private NewsDao dao;
    public void setDao(NewsDao dao){
        this.dao = dao;
    }
    public NewsDao getDao() {
        return dao;
    }

    @Override
    public void addNews(News news) {

    }
}
